package com.wbk.lotterysystemuserservice.commons.bo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.hibernate.validator.constraints.URL;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

@ApiModel
@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserExtBO implements Serializable {

    @ApiModelProperty(value = "用户编号", required = true)
    private Long userNo;

    @ApiModelProperty(value = "头像url", required = false)
    @URL(message = "头像url必须是一个合法的URL地址！！！")
    private String headImagUrl;

    @ApiModelProperty(value = "个性签名", required = false)
    private String info;
}
